package com.ddyx.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ddyx.entity.DealDetails;
import com.ddyx.entity.EventDealslog;
import com.ddyx.entity.EventLog;
import com.ddyx.entity.EventStorelog;
import com.ddyx.entity.EventTasklog;

@MyBatisRepository
public interface TimeLineMapper {

	int eventLogCount(@Param("start")int start
			,@Param("size")int size
			,@Param("contactId")String contactId);
	
	List<EventLog> getEventLog(@Param("start")int start
			,@Param("size")int size
			,@Param("contactId")String contactId);
	
	EventDealslog getEventDealsLog(@Param("eventId")int eventId);
	
	EventStorelog getEventStoreLog(@Param("eventId")int eventId);
	
	EventTasklog getEventTaskLog(@Param("eventId")int eventId);
	
	List<DealDetails> getDetailsByBillNo(@Param("billNo")String billNo);
}
